clear

use "/home/scott/Dropbox/Florence_Paper/replication/data/test_currency3.dta", clear



tset time

tabulate gondf, g(gdf)

drop gdf4

tabulate scrutiny, g(scrt)


drop scrt3



tabulate quarter, g(qrt)


generate export = gdf2+gdf3 


generate export2 = gld_22+gld_23 -export



arch diff_logS1 export scrt*, het(export scrt*)  arch(1/1) garch(1/1) vce(cluster group), if Year >  1393

eststo a1



arch diff_logS1 export scrt* qrt*, het(export scrt* qrt*)  arch(1/1) garch(1/1) vce(cluster group), if Year >  1393

eststo a2


arch diff_logS1 export scrt* qrt* diff_date, het(export scrt* qrt* diff_date)  arch(1/1) garch(1/1) vce(cluster group), if Year >  1393

eststo a3



arch diff_logS1 export scrt* qrt* time_till_sort, het(export scrt* qrt* time_till_sort)  arch(1/1) garch(1/1) vce(cluster group), if Year >  1393

eststo a4


arch diff_logS1 export scrt* qrt* time_till_sort diff_date, het(export scrt* qrt* time_till_sort diff_date)  arch(1/1) garch(1/1) vce(cluster group), if Year >  1393


eststo a5


estout a1 a2 a3 a4 a5, cells(b(star fmt(5)) se(par fmt(5))) style(tex) stats(r2)  starlevels(* 0.10 ** 0.05 *** 0.01)











